<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link href="../metro/css/metro-all.css?ver=@@b-version" rel="stylesheet">

    <title>Test Countdown - Metro 4 :: Popular HTML, CSS and JS library</title>

</head>
<body class="m4-cloak">
<div class="container">
    <h1>Countdown test page</h1>

    <div class="example">
        <div id="cd" data-role="countdown" class="countdownItems"></div>
    </div>

</div>

<script src="../metro/js/metro.js?ver=@@b-version"></script>
<script>
    $(function(){
        // $("#cd").attr("data-date", "02/22/2022 05:00");
        var cd = Metro.getPlugin("#cd", "countdown")
        cd.resetWith("02/22/2022 05:00")
        // cd.start()
    })
    // var date = "11-18-2020"
    // console.log((new Date("11-18-2020")).getTime());
    // console.log((new Date("11-19-2020")).getTime());
    // console.log((new Date("11-20-2020")).getTime());
    // console.log((new Date("11-21-2020")).getTime());
</script>
</body>
</html>
